<%@ page import="java.util.Date" %>
<%@ page import="car.aistar.dto.TqxCarSelect" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/24
  Time: 22:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="${pageContext.request.contextPath}/js/jquery-3.4.1.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/plugins/bootstrap-3.3.7-dist/css/bootstrap.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/buyCar.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/base.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/footer.css">
    <style>
        #buyCar a:first-child{
            color: skyblue;
        }
    </style>
</head>
<body>
<%
String brId =request.getParameter("brId");
String csId =request.getParameter("csId");
String csName =request.getParameter("csName");
String brName =request.getParameter("brName");
String price =request.getParameter("price");
request.setAttribute("brId",brId);
request.setAttribute("csId",csId);
request.setAttribute("brName",brName);
request.setAttribute("csName",csName);
request.setAttribute("price",price);
%>
<input class="hidden" id="brId" value="${brId}">
<input value="${csId}" class="hidden" id="csId">
<input value="${csName}" class="hidden" id="csName">
<input value="${brName}" class="hidden" id="brName">
<input value="${price}" class="hidden" id="price">
<!--nav开始-->
<div id="nav_my"></div>
<br>

<!--nav结束-->


<div id="content">

</div>
<%--<!--footer-->--%>
<%--<%=new Date()%>--%>
<div id="footer">

</div>
<!--footer-->
<script src="${pageContext.request.contextPath}/plugins/bootstrap-3.3.7-dist/js/bootstrap.js"></script>

<script>
    var brId = $("#brId").val()
    var csId = $("#csId").val()
    var brName = $("#brName").val()
    var csName = $("#csName").val()
    var price = $("#price").val()
    $(function(){
        $("#nav_my").load("${pageContext.request.contextPath}/jsp/common/nav.jsp");
        $("#footer").load("${pageContext.request.contextPath}/jsp/common/footer.jsp");
        $("#content").load("${pageContext.request.contextPath}/carDetail/buyCar/carInfo.action?brId="+brId+"&brName="+brName+"&csId="+csId+"&csName="+csName+"&price="+price);
    })
</script>


</body>
</html>

